package com.icbc.payfront;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.web.servlet.ServletComponentScan;
import org.springframework.context.annotation.Bean;
import org.springframework.scheduling.annotation.EnableScheduling;

import java.util.ArrayList;
import java.util.List;

@ServletComponentScan(basePackages = {"com.icbc"}) //这一句完成了配置，Springboot的”懒理念“真的厉害。
@SpringBootApplication(scanBasePackages = {"com.icbc"})
@EnableScheduling
public class Application {

    public static void main(String[] args) {
        SpringApplication.run(Application.class, args);
    }

}
